package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the salary_tz database table.
 * 
 */
@Entity
@Table(name="salary_tz")
@NamedQuery(name="SalaryTz.findAll", query="SELECT s FROM SalaryTz s")
public class SalaryTz implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int tzid;

	private String tdtpye;

	@Temporal(TemporalType.TIMESTAMP)
	private Date tzdate;

	//bi-directional many-to-one association to SalaryAccout
	@ManyToOne
	@JoinColumn(name="account_id")
	private SalaryAccout salaryAccout;

	public SalaryTz() {
	}

	public int getTzid() {
		return this.tzid;
	}

	public void setTzid(int tzid) {
		this.tzid = tzid;
	}

	public String getTdtpye() {
		return this.tdtpye;
	}

	public void setTdtpye(String tdtpye) {
		this.tdtpye = tdtpye;
	}

	public Date getTzdate() {
		return this.tzdate;
	}

	public void setTzdate(Date tzdate) {
		this.tzdate = tzdate;
	}

	public SalaryAccout getSalaryAccout() {
		return this.salaryAccout;
	}

	public void setSalaryAccout(SalaryAccout salaryAccout) {
		this.salaryAccout = salaryAccout;
	}

}